/**
 * 2017.4.28
 */
package cn.edu.bjtu.entity.impl.local;

import java.util.concurrent.locks.ReadWriteLock;

import cn.edu.bjtu.alex.rewrite.Context;
import cn.edu.bjtu.entity.impl.BaseLocalContext;

/**
 * TFIDF是同步的,在本机执行
 * TFIDFExecuteContex 相对于 BaseLocalContext添加了一个 Context 字段。
 * @author alex
 *
 */
public abstract class BaseTFIDFExecuteContext extends BaseLocalContext<Context>{
	protected Context ctx = null;
	
	public BaseTFIDFExecuteContext(ReadWriteLock lock,String in,String out, Context ctx) {
		super(lock, in, out);
		this.ctx = ctx;
	}

	/**
	 * @return the ctx
	 */
	public Context getCtx() {
		return ctx;
	}

	/**
	 * @param ctx the ctx to set
	 */
	public void setCtx(Context ctx) {
		this.ctx = ctx;
	}

	
	
}
